import React from "react";
import { useTranslation } from "react-i18next";
import "./index.scss";

interface Props {
  current: string;
}
const Home: React.FC<Props> = ({ current = "/" }) => {
  const { t } = useTranslation("nav");

  return <header className="header">头部: 当前路由: {current}</header>;
};

export default Home;
